import request from "@/utils/request.js"

export const channelGetService = () => {
  return request.get('/my/cate/list')
}

export const channelAddService = (data) => {
  return request.post('/my/cate/add', data)
}

export const channelEditService = (data) => {
  return request.put('/my/cate/info', data)
}

export const channelDelService = (id) => {
  return request.delete('/my/cate/del', {params: {id}})
}
